<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/8/29
 * Time: 12:14
 */
$str="name|s:4:test;user_id|i:1;";
$array=explode(';',$str);
var_dump($array);

die();



$memcache =new Memcache();
$host='127.0.0.1';
$port="11211";
$memcache->connect($host,$port);
$res=$memcache->get('c78j8099etg94m8tco65v0pjf2');
session_start();
var_dump($res);